package entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: NGUYEN VAN NHAN
 * Date: 9/17/14
 * Time: 11:06 AM
 * Long Van Soft Solution Sjc.
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(name = "SOCIAL_TYPE")
public class SocialType implements Serializable{
    private String socialTypeId;
    private String typeName;

    public SocialType() {
    }

    @Id
    @Column(name = "socialTypeId", length = 20)
    public String getSocialTypeId() {
        return socialTypeId;
    }

    public void setSocialTypeId(String socialTypeId) {
        this.socialTypeId = socialTypeId;
    }

    @Column(name = "typeName", length = 255)
    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }
}
